package org.example.index;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：ygp
 * @Package：org.example.index
 * @Project：ResApi
 * @name：IndexController
 * @Date：2023/12/19 15:02
 * @Filename：IndexController
 */
@Slf4j
@RestController
public class IndexController {


    @RequestMapping(value = "/", method = {RequestMethod.GET,RequestMethod.POST})
    public String index(){
        return "ok";
    }
}
